import request from './request'

export function addCustomermessage(data) {
    return request({
        url: 'business/Customermessage/Add',
        method: 'POST',
        data: data
    })
}
export function upUploadSave(data) {
    return request({
        url: 'Common/UpdateBusinessFieldFiles/UpdateBusinessFieldFiles',
        method: 'POST',
        data: data
    })
}

export function GetArticlecategory(data) {
    return request({
        url: 'articlecategory/list',
        method: 'GET',
        params: data
    })
}
export function GetArticleList(data) {
    return request({
        url: 'article/list',
        method: 'GET',
        params: data
    })
}
export function GetArticleDetial(id) {
    return request({
        url: 'article/' + id,
        method: 'GET',
    })
}

export function UploadSave(data) {
    return request({
        url: 'Common/BusinessFieldFiles/BusinessFieldFiles',
        method: 'POST',
        data: data
    })
}
export function GetDonateList(data) {
    return request({
        url: 'business/Donate/list',
        method: 'GET',
        params: data
    })
}
export function GetDonateLists(data) {
    return request({
        url: 'business/Donateoutlay/list',
        method: 'GET',
        params: data
    })
}